package com.hook.project;

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

import fi.iki.elonen.NanoHTTPD;

public class TaoBaoHttpServer {

    /**
     * 淘宝处理流程
     * @param parameters
     * @return
     */
    public static NanoHTTPD.Response enter(Map<String, String> parameters) {
        String m1 = parameters.get("m1");
        Map<String,String> map = JSONObject.parseObject(m1,Map.class);
        String m2 = parameters.get("m2");
        Map<String,String> map2 = JSONObject.parseObject(m2,Map.class);
        String s1 = parameters.get("s1");
        String s2 = parameters.get("s2");
        boolean b1 = parameters.get("b1").equals("true")?true:false;

        return null;
    }
}
